home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 December / Chip_2003-12_cd1.bin / program / ctenari / ShiCola / CodePad37.exe / $INSTDIR / Syntax Definitions / actionscript.def < prev    next >
Encoding:
Text File  |  2003-10-17  |  7.2 KB  |  208 lines

  1. object TPersHolder
  2.   P.Name = 'Flash 5 ActionScript'
  3.   P.Extensions.Strings = (
  4.     'ActionScript Source files (*.as)|*.as')
  5.   P.SyntaxBlocks = <
  6.     item
  7.       Name = 'Default'
  8.       ID = 0
  9.       CaseSensitive = True
  10.       UseMetaSymbol = True
  11.       UseMetaToWrapLines = False
  12.       MetaSymbol = '\'
  13.       FIText = 9
  14.       FIIntNum = 3
  15.       FIFloatNum = 4
  16.       FIHexNum = 3
  17.       FIIdentifier = 5
  18.       UseComments = True
  19.       UseSingleLineComments = True
  20.       UseMultiLineComments = True
  21.       UseStrings = True
  22.       UseSingleLineStrings = True
  23.       UseNumbers = True
  24.       UseSuffixedNumbers = True
  25.       UseMultipleNumSuffixes = False
  26.       UseIdentifiers = True
  27.       UseKeywords = True
  28.       BlockDelimiters = <>
  29.       SingleLineCommentDelimiters = <
  30.         item
  31.           FontID = 10
  32.           LeftDelimiter = '//'
  33.         end>
  34.       MultiLineCommentDelimiters = <
  35.         item
  36.           FontID = 7
  37.           LeftDelimiter = '/*'
  38.           RightDelimiter = '*/'
  39.         end>
  40.       SingleLineStringDelimiters = <
  41.         item
  42.           FontID = 2
  43.           LeftDelimiter = '"'
  44.           RightDelimiter = '"'
  45.         end>
  46.       NumSuffixes = <
  47.         item
  48.           LeftDelimiter = 'h'
  49.         end
  50.         item
  51.           LeftDelimiter = 'H'
  52.         end>
  53.       KeywordSets = <
  54.         item
  55.           FontID = 6
  56.           Name = 'Op codes'
  57.           Keywords = 
  58.             '#include,_parent,_root,abs,acos,add,and,appendChild,Array,asin,a' +
  59.             'tan,atan2,attachMovie,attachSound,attributes,BACKSPACE,Boolean,b' +
  60.             'reak,call,CAPSLOCK,ceil,cloneNode,close,Color,concat,connect,con' +
  61.             'tinue,CONTROL,cos,createElement,createTextNode,Date,delete,DELET' +
  62.             'EKEY,do,docTypeDecl,DOWN,duplicateMovieClip,E,else,END,ENTER,eq,' +
  63.             'ESCAPE,eval,evaluate,exp,firstChild,floor,for,fromCharCode,fscom' +
  64.             'mand,function,ge,getAscii,getBeginIndex,getBounds,getBytesLoaded' +
  65.             ',getBytesTotal,getCaretIndex,getCode,getDate,getDay,getEndIndex,' +
  66.             'getFocus,getFullYear,getHours,getMilliseconds,getMinutes,getMont' +
  67.             'h,getPan,getProperty,getRGB,getSeconds,getTime,getTimer,getTimez' +
  68.             'oneOffset,getTransform,getURL,getUTCDate,getUTCDay,getUTCFullYea' +
  69.             'r,getUTCMilliseconds,getUTCMinutes,getUTCMonth,getUTCSeconds,get' +
  70.             'UTCHours,getVersion,getVolume,getYear,globalToLocal,gotoAndPlay,' +
  71.             'gotoAndStop,gt,haschildNodes,hide,hitTest,HOME,charAt,charCodeAt' +
  72.             ',childNodes,chr,if,ifFrameLoaded,in,indexOf,Infinity,INSERT,inse' +
  73.             'rtBefore,int,isDown,isFinite,isNaN,isToggled,join,Key,lastChild,' +
  74.             'lastIndexOf,le,LEFT,length,LN10,LN2,load,loaded,loadMovie,loadVa' +
  75.             'riables,localToGlobal,log,LOG10E,LOG2E,lt,Math,MAX_VALUE,maxscro' +
  76.             'll,mbchr,mblength,mbord,mbsubstring,MIN_VALUE,Mouse,MovieClip,Na' +
  77.             'N,ne,NEGATIVE_INFINITY,new,newline,nextFrame,nextScene,nextSibli' +
  78.             'ng,nodeName,nodeType,nodeValue,not,null,Number,Object,on,onClipE' +
  79.             'vent,onClose,onConnect,onLoad,onXML,or,ord,parentNode,parseFloat' +
  80.             ',parseInt,parseXML,PGDN,PGUP,PI,play,pop,POSITIVE_INFINITY,pow,p' +
  81.             'revFrame,previousSibling,prevScene,print,printAsBitmap,push,rand' +
  82.             'om,removeMovieClip,removeNode,return,reverse,RIGHT,round,scroll,' +
  83.             'Selection,send,sendAndLoad,set,setDate,setFocus,setFullYear,setH' +
  84.             'ours,setMilliseconds,setMinutes,setMonth,setPan,setProperty,setR' +
  85.             'GB,setSeconds,setSelection,setTime,setTransform,setUTCDate,setUT' +
  86.             'CFullYear,setUTCMilliseconds,setUTCMinutes,setUTCMonth,setUTCSec' +
  87.             'onds,setUTCHours,setVolume,setYear,SHIFT,show,sin,slice,sort,Sou' +
  88.             'nd,SPACE,splice,split,sqrt,SQRT1_2,SQRT2,start,startDrag,status,' +
  89.             'stop,stopAllSounds,stopDrag,String,substr,substring,swapDepths,T' +
  90.             'AB,tan,targetPath,tellTarget,this,toggleHighQuality,toLowerCase,' +
  91.             'toString,toUpperCase,trace,typeof,unescape,unloadMovie,unshift,U' +
  92.             'P,updateAfterEvent,UTC,valueOf,var,void,while,with,XML,xmlDecl,X' +
  93.             'MLSocket'
  94.         end
  95.         item
  96.           FontID = 8
  97.           Name = 'Directives'
  98.           Keywords = 
  99.             '_,_alpha,_currentframe,_droptarget,_focusrect,_framesloaded,_hei' +
  100.             'ght,_name,_quality,_rotation,_soundbuftime,_target,_totalframes,' +
  101.             '_url,_visible,_width,_x,_xmouse,_xscale,_y,_ymouse,_yscale,highq' +
  102.             'uality'
  103.         end
  104.         item
  105.           FontID = 1
  106.           Name = 'Functions'
  107.           Keywords = 
  108.             'data,dragOut,dragOver,enterFrame,false,keyDown,keyPress,keyUp,lo' +
  109.             'ad,mouseDown,mouseMove,mouseUp,press,release,releaseOutside,roll' +
  110.             'Out,rollOver,true,unload'
  111.         end>
  112.       FirstIdentChars = '#%@-Z_a-z'
  113.       OtherIdentChars = '0-9?A-Z_a-z'
  114.     end>
  115.   P.FontTable = <
  116.     item
  117.       FontID = 2
  118.       GlobalAttrID = 'String'
  119.       Font.Charset = DEFAULT_CHARSET
  120.       Font.Color = clMaroon
  121.       Font.Height = -13
  122.       Font.Name = 'Courier New'
  123.       Font.Style = []
  124.     end
  125.     item
  126.       FontID = 3
  127.       GlobalAttrID = 'Integer'
  128.       Font.Charset = DEFAULT_CHARSET
  129.       Font.Color = clGreen
  130.       Font.Height = -13
  131.       Font.Name = 'Courier New'
  132.       Font.Style = []
  133.     end
  134.     item
  135.       FontID = 4
  136.       GlobalAttrID = 'Float'
  137.       Font.Charset = DEFAULT_CHARSET
  138.       Font.Color = clGreen
  139.       Font.Height = -13
  140.       Font.Name = 'Courier New'
  141.       Font.Style = []
  142.     end
  143.     item
  144.       FontID = 5
  145.       GlobalAttrID = 'Identifier'
  146.       Font.Charset = DEFAULT_CHARSET
  147.       Font.Color = clBlack
  148.       Font.Height = -13
  149.       Font.Name = 'Courier New'
  150.       Font.Style = []
  151.     end
  152.     item
  153.       FontID = 6
  154.       GlobalAttrID = 'Reserved words'
  155.       Font.Charset = DEFAULT_CHARSET
  156.       Font.Color = clBlue
  157.       Font.Height = -13
  158.       Font.Name = 'Courier New'
  159.       Font.Style = []
  160.     end
  161.     item
  162.       FontID = 8
  163.       GlobalAttrID = 'Defines'
  164.       Font.Charset = DEFAULT_CHARSET
  165.       Font.Color = clGreen
  166.       Font.Height = -13
  167.       Font.Name = 'Courier New'
  168.       Font.Style = []
  169.     end
  170.     item
  171.       FontID = 9
  172.       GlobalAttrID = 'Plain Text'
  173.       Font.Charset = DEFAULT_CHARSET
  174.       Font.Color = clBlack
  175.       Font.Height = -13
  176.       Font.Name = 'Courier New'
  177.       Font.Style = []
  178.     end
  179.     item
  180.       FontID = 10
  181.       GlobalAttrID = 'Comment'
  182.       Font.Charset = DEFAULT_CHARSET
  183.       Font.Color = clGray
  184.       Font.Height = -13
  185.       Font.Name = 'Courier New'
  186.       Font.Style = [fsItalic]
  187.     end
  188.     item
  189.       FontID = 1
  190.       GlobalAttrID = 'Script ResWord'
  191.       Font.Charset = DEFAULT_CHARSET
  192.       Font.Color = clBlack
  193.       Font.Height = -13
  194.       Font.Name = 'Courier New'
  195.       Font.Style = [fsBold]
  196.     end
  197.     item
  198.       FontID = 7
  199.       GlobalAttrID = 'Comment'
  200.       Font.Charset = DEFAULT_CHARSET
  201.       Font.Color = clGray
  202.       Font.Height = -13
  203.       Font.Name = 'Courier New'
  204.       Font.Style = [fsItalic]
  205.     end>
  206.   P.SyntaxVersion = 3
  207. end
  208.